FROM openresty/openresty:latest

# 安装其他依赖
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
    curl \
    apt-transport-https \
    ca-certificates \
    netbase \
    openssl

# 将配置文件添加到容器中
COPY nginx.conf /usr/local/openresty/nginx/conf/nginx.conf